package kr.phistory.dao;

import java.util.List;
import java.util.Map;

import kr.phistory.domain.PHistoryCommand;

public interface PHistoryDao {
	public List<PHistoryCommand> list(Map<String,Object> map);
	public void insert(PHistoryCommand pHistory);
	public void update(Map<String,Integer> map);
	public void delete(Integer ph_num);
	public int getPHistoryCount();
	public PHistoryCommand detail(Integer ph_num);
	public void exit(Map<String,Object> map);
	public int notExitCount(Integer p_num);
	public int countFromPnum(Integer p_num);
	public void deleteToPnum(Integer p_num);
	
}
